<?php
class CompanyModel extends Model{

/*
 *check_disabled 查询当前公司id是否可用
 *arg
 *cid int
 *****/
public function check_disabled($cid){
	return M('company','','')->db(1,'DB_CONFIG1')->where('company_id='.$_REQUEST["cid"])->getField('company_disabled');	
}
	
	
}
?>